print("课表查询")
a = [1,"中午","大英"]
b = [2,"中午","AI"]
c = [3,"早上","毛概理论","晚上","大英"]
d = [4,"早上","高尔夫","中午","毛概实践和网站运营"]
e = [5,"早上","python","中午","API"]
num = int(input('今天星期几？（请输入1~7的数字）：'))
time = input("请输入时间段（早上/中午/晚上）：")
if num == a[0]:
    if time == a[1]:
        print(a[2])
    else:
        print("没课")
elif num == b[0]:
    if time == b[1]:
        print(b[2])
    else:
        print("没课")
elif num == c[0]:
    if time == c[1]:
        print(c[2])
    elif time == c[3]:
        print(c[4])
    else:
        print("没课")
elif num == d[0]:
    if time == d[1]:
        print(d[2])
    elif time == d[3]:
        print(d[4])
    else:
        print("没课")
elif num == e[0]:
    if time == e[1]:
        print(e[2])
    elif time == e[3]:
        print(e[4])
    else:
        print("没课")
else:
    print("没课")

